package co.edu.unal.satacredito.database.administration.ejb;

import java.util.List;
import javax.ejb.Local;
import co.edu.unal.satacredito.database.administration.exceptions.DAOException;
import co.edu.unal.satacredito.database.entity.Administrator;

@Local
public interface AdministrationDaoEJBLocal {
	
	public void createAdministrator(Administrator user) throws DAOException;

	public void editAdministrator(Administrator user) throws DAOException;

	public void deleteAdministrador(String id) throws DAOException;
	
	public Administrator findByUser(String user) throws DAOException;
	
	public List<Administrator> findAllUsers() throws DAOException;

}
